<div class="modal-header">
    <h4 class="modal-title">用户授权</h4>
</div>
<div class="modal-body">
    <ul class="list-group">
        <li class="list-group-item" ng-repeat="r in roleList">
            <div class="i-checks m-b-none" ng-click="toggleRole(r)"><input type="checkbox" ng-model="r.Authorized"/><i></i>{{::r.Name}}</div>
        </li>
    </ul>
    <div class="row text-center padder-v">
        <input class="form-control w-md inline" ng-model="newRole"/>
        <button class="btn btn-primary" type="button" ng-click="createRole()"><i class="fa fa-plus"></i> 新建角色</button>
        <button class="btn btn-danger" type="button" ng-click="miss()"><i class="fa fa-times"></i> 返回</button>
    </div>
</div>